import { AnimationClip } from "cc";

import { PARAMS_NAME_ENUM, SPIKE_COUNT_ENUM, SPIKEC_COUNT_MAP_NUMBER_CNUM } from "../../Enums";

import { SubStateMachine } from "../../Base/SubStateMachine";



const BASE_URL = "texture/spikes/spikestwo"

export default class SpikesSubStateMachine extends SubStateMachine {


    run() {
        const { value } = this.fsm.getParams(PARAMS_NAME_ENUM.SPIKES_CUR_COUNT)
        this.currentState = this.stateMachines.get(SPIKEC_COUNT_MAP_NUMBER_CNUM[value as number])
    }
}